#pragma once
#include "TemplateVector.h"
#include "BeanieCore.h"
#include "Clickable.h"
#include "GameTexture.h"

#define CHAR_WIDTH 8
#define CHAR_HEIGHT 16
#define MAX_LEN 20
class Context
{
private:
	TemplateVector<char*> m_menu;
	BeanieCore* m_core;
	bool isActive;
	TemplateVector<Clickable*> clickables;
	Clickable m_clickable;
	V2DF clicked;
	GameTexture backdrop;
public:
	Context();
	~Context(){release();}
	void release();
	void init(BeanieCore* a_core);
	bool input();
	void update();
	void draw();
	inline bool status(){return isActive;};
	inline void setStatus(bool status){isActive = status;}
	void setClicked(V2DF a_clicked);
	void addMenuItem(char* a_in);
}; 